More default property value corrections
authorMatthias Clasen <matthiasc@src.gnome.org>
Fri, 28 Dec 2007 17:10:33 +0000 (17:10 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 28 Dec 2007 17:10:33 +0000 (17:10 +0000)
svn path=/trunk/; revision=19276

ChangeLog
gtk/gtkfilesel.c
gtk/gtklabel.c
gtk/gtklinkbutton.c
gtk/gtkmenu.c

index 3a544ea86cdb5b874bd5233fac37a718d8c62ec1..6208a83e359f0ee9431aa1b93ba3f4780118f05c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-12-28  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkfilesel.c:
+       * gtk/gtklabel.c:
+       * gtk/gtklinkbutton.c:
+       * gtk/gtkmenu.c: More default property value corrections.
+
 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
index 3bbd6d380f6a87cb48081a630954d9e4614ce1f7..295e8f14c450987b14b1e5e430d27cf4979235bc 100644 (file)
@@ -531,7 +531,7 @@ gtk_file_selection_class_init (GtkFileSelectionClass *class)
                                   g_param_spec_boolean ("show-fileops",
                                                         P_("Show file operations"),
                                                         P_("Whether buttons for creating/manipulating files should be displayed"),
-                                                        FALSE,
+                                                        TRUE,
                                                         GTK_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                   PROP_SELECT_MULTIPLE,
index cd6c5acfd22184a941ef2ad6d637414eee34a8f3..cfe3df43aa690f65aee3886b3008667effe6e375 100644 (file)
@@ -296,7 +296,7 @@ gtk_label_class_init (GtkLabelClass *class)
                                    g_param_spec_string ("label",
                                                         P_("Label"),
                                                         P_("The text of the label"),
-                                                        NULL,
+                                                        "",
                                                         GTK_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                   PROP_ATTRIBUTES,
index 099f46f07ac6b1498075bebe1109744c5e19cbcb..1fc0645c3d36e7cd0499d300d783a26ac8da4b91 100644 (file)
@@ -131,7 +131,7 @@ gtk_link_button_class_init (GtkLinkButtonClass *klass)
   /**
    * GtkLinkButton:uri
    * 
-   * The URI bound to this button.
+   * The URI bound to this button. 
    *
    * Since: 2.10
    */
@@ -140,7 +140,7 @@ gtk_link_button_class_init (GtkLinkButtonClass *klass)
                                   g_param_spec_string ("uri",
                                                        _("URI"),
                                                        _("The URI bound to this button"),
-                                                       "http://www.gtk.org",
+                                                       NULL,
                                                        G_PARAM_READWRITE));
   
   g_type_class_add_private (gobject_class, sizeof (GtkLinkButtonPrivate));
index deb3a46c5193dd237dcb0ba2b243d70c1fa27675..41b24b699d173d0f10242a92d7317f1c2df533a6 100644 (file)
@@ -483,7 +483,7 @@ gtk_menu_class_init (GtkMenuClass *class)
                                    g_param_spec_string ("tearoff-title",
                                                         P_("Tearoff Title"),
                                                         P_("A title that may be displayed by the window manager when this menu is torn-off"),
-                                                        "",
+                                                        NULL,
                                                         GTK_PARAM_READWRITE));
 
   /**